.message {
  border: 1px solid #ccc;
  padding-right: 7px;
  overflow-x: auto;
  overflow-y: hidden;
}
.message > div {
  min-width: 800px;
}
.message > div > table {
  width: 100%;
}
.message > div > table .col-a {
  width: 65%;
}
.message > div > table .col-c {
  width: 100px;
}
.message > div > table tbody td {
  overflow: hidden;
  vertical-align: middle;
}
.message > div > table tbody td > div {
  flex-direction: row;
  justify-content: flex-start;
  display: flex;
}
.message > div > table tbody td .icon_emotion_sprite {
  width: 46px;
  height: 46px;
  vertical-align: middle;
  display: inline-block;
  background: transparent url(../images/emotion_sprites.png) no-repeat 0 0;
  -webkit-background-size: 65.5px auto;
  background-size: 65.5px auto;
}
.message > div > table tbody td img {
  width: 50px;
  height: 50px;
}
.message > div > table tbody td img + div p {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.message > div.messageTbody {
  width: calc(100% + 7px);
  min-width: calc(800px + 7px);
  max-height: 757px;
  overflow-x: hidden;
  overflow-y: scroll;
}
.chatContent {
  height: 500px;
  overflow-y: auto;
  padding-right: 7px;
}
.chatContent .icon_emotion_sprite {
  width: 46px;
  height: 46px;
  vertical-align: middle;
  display: inline-block;
  background: transparent url(../images/emotion_sprites.png) no-repeat 0 0;
  -webkit-background-size: 65.5px auto;
  background-size: 65.5px auto;
}
.chatContent .customer {
  display: flex;
  flex-direction: row;
  position: relative;
}
.chatContent .customer block {
  max-width: 80%;
  text-align: left;
}
.chatContent .customer block p {
  margin-bottom: 0;
}
.chatContent .customer block p > img {
  max-width: 300px;
  height: 100px;
  border-radius: 10px;
  cursor: pointer;
}
.chatContent .customer block p video {
  max-width: 500px;
  height: 300px;
}
.chatContent .customer > img {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  flex-shrink: 0;
  margin-top: 10px;
}
.chatContent .customer div {
  border: 1px solid #c0bfc5;
  border-radius: 5px;
  padding: 5px;
  height: fit-content;
  letter-spacing: 2px;
  text-align: left;
  min-height: 30px;
}
.chatContent .customer div .emo {
  width: 35px;
  height: 35px;
  padding: 3px;
}
.chatContent .customer .hook {
  position: absolute;
  left: 65px;
  top: 40px;
  transform: rotate(-90deg);
}
.chatContent .customer .hook .hook_top {
  top: -16px;
  border-color: transparent transparent #c0bfc5;
}
.chatContent .customer .hook .hook_dec {
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px;
}
.chatContent .customer .hook .hook_btm {
  top: -15px;
  border-color: transparent transparent #fff;
}
.chatContent .server {
  display: flex;
  flex-direction: row-reverse;
  position: relative;
}
.chatContent .server block {
  max-width: 80%;
  text-align: right;
}
.chatContent .server block p {
  margin-bottom: 0;
}
.chatContent .server block p > img {
  max-width: 300px;
  height: 100px;
  border-radius: 10px;
  cursor: pointer;
}
.chatContent .server block p video {
  max-width: 500px;
  height: 300px;
}
.chatContent .server > img {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  flex-shrink: 0;
  margin-top: 10px;
}
.chatContent .server div {
  border: 1px solid #c0bfc5;
  border-radius: 5px;
  padding: 5px;
  height: fit-content;
  letter-spacing: 2px;
  text-align: left;
  min-height: 30px;
}
.chatContent .server div .emo {
  width: 35px;
  height: 35px;
  padding: 3px;
}
.chatContent .server .hook {
  position: absolute;
  right: 65px;
  top: 25px;
  transform: rotate(90deg);
}
.chatContent .server .hook .hook_top {
  top: -16px;
  border-color: transparent transparent #c0bfc5;
}
.chatContent .server .hook .hook_dec {
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px;
}
.chatContent .server .hook .hook_btm {
  top: -15px;
  border-color: transparent transparent #fff;
}
.sendMessage .emotion_editor {
  position: relative;
  z-index: 1;
  border: 1px solid #e7e7eb;
}
.sendMessage .emotion_editor .edit_area {
  padding: 14px 20px;
  outline: 0;
  word-wrap: break-word;
  word-break: break-all;
  background-color: #fff;
  height: 188px;
  border: none;
  width: 100%;
}
.sendMessage .emotion_editor .edit_area .icon_emotion_sprite {
  cursor: pointer;
  width: 46px;
  height: 46px;
  vertical-align: middle;
  display: inline-block;
  background: transparent url(../images/emotion_sprites.png) no-repeat 0 0;
  -webkit-background-size: 65.5px auto;
  background-size: 65.5px auto;
}
.sendMessage .emotion_editor .editor_toolbar {
  padding: 0 20px;
  line-height: 36px;
  background-color: #fff;
  border-top: 1px solid #e7e7eb;
}
.sendMessage .emotion_editor .editor_toolbar .icon_emotion {
  width: 25px;
  height: 25px;
  vertical-align: middle;
  display: inline-block;
  margin-right: 10px;
}
.sendMessage .emotion_editor .editor_toolbar .emotion_switch {
  background: url(../images/icons.png) 0 -190px no-repeat;
}
.sendMessage .emotion_editor .editor_toolbar .pic_switch {
  background: url(../images/icons.png) 0 -77px no-repeat;
}
.sendMessage .emotion_editor .editor_toolbar .emotion_wrp {
  display: none;
  position: absolute;
  width: 701px;
  top: 42px;
  left: -1px;
}
.sendMessage .emotion_editor .editor_toolbar .emotion_wrp .hook {
  position: absolute;
  left: 39px;
  top: 151px;
  transform: rotate(180deg);
}
.sendMessage .emotion_editor .editor_toolbar .emotion_wrp .hook .hook_top {
  top: -16px;
  border-color: transparent transparent #c0bfc5;
}
.sendMessage .emotion_editor .editor_toolbar .emotion_wrp .hook .hook_dec {
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px;
}
.sendMessage .emotion_editor .editor_toolbar .emotion_wrp .hook .hook_btm {
  top: -15px;
  border-color: transparent transparent #f6f6f6;
}
.sendMessage .emotion_editor .editor_toolbar .emotion_wrp .emotions {
  overflow: hidden;
  border-top: 1px solid #c0bfc5;
  border-right: 1px solid #c0bfc5;
  background-color: #e7e7eb;
  padding: 0;
}
.sendMessage .emotion_editor .editor_toolbar .emotion_wrp .emotions .emotions_item {
  float: left;
  width: 50px;
  height: 50px;
  line-height: 47px;
  font-size: 0;
  text-align: center;
  border-bottom: 1px solid #c0bfc5;
  border-left: 1px solid #c0bfc5;
  background-color: #fff;
}
.sendMessage .emotion_editor .editor_toolbar .emotion_wrp .emotions .emotions_item .icon_emotion_sprite {
  cursor: pointer;
  width: 46px;
  height: 46px;
  vertical-align: middle;
  display: inline-block;
  background: transparent url(../images/emotion_sprites.png) no-repeat 0 0;
  -webkit-background-size: 65.5px auto;
  background-size: 65.5px auto;
}
